<template>
    <div class="masking" v-show="false">
      <div class="Prompt_window">
        <p class="hint">提示</p>
        <div class="dialogue">你确定要删除此条信息吗？</div>
        <span class="confirm">确定</span><!--
        --><span class="cancel">取消</span>
      </div>
    </div>
</template>

<script>
export default {
  name: 'DeletePopupWindow',
  data () {
    return {
      object: {
        isStatus: false
      }
    }
  },
  beforeCreate () {
    this.$bus.$on('del', (obj) => {
      this.object = this.obj
    })
  }
}
</script>

<style scoped>
.masking{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
  .Prompt_window{
    width:300px;
    height: 200px;
    background: aliceblue;
    margin: auto;
    border-radius: 5px;
    transform: translateY(500px);
    font-size: 0;
  }
  .hint{
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    text-align: center;
  }
.dialogue{
  font-size: 15px;
  height: 90px;
  text-align: center;
  border-bottom: solid 1px #ccc;
}
  .Prompt_window span{
    font-size: 15px;
    display: inline-block;
    width: 150px;
    text-align: center;
    height: 50px;
    line-height: 50px;
  }
  .cancel{
    border-left: solid 1px #ccc;
    box-sizing: border-box;
  }
</style>
